package com.dh.inner;

public class InnerClass02  {
    private String name;
    private int age;

    public class Inner01 extends A {

    }
    public class Inner02 extends B{

    }

    public void show(){
        new Inner01().a();
        new Inner02().b();
    }
}

class A {
    public void a() {
        System.out.println("哈哈");
    }
}

class B {
    public void b() {
        System.out.println("呵呵");
    }
}
